.container {
  display: inline-block;
}

.upload {
  border: 1px dashed #d9d9d9;
  width: 104px;
  height: 104px;
  border-radius: 4px;
  background-color: #fafafa;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s ease;
  margin-right: 8px;
  margin-bottom: 8px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  &:hover {
    border-color: @primary-color;
  }
}

.card {
  border: 1px solid #d9d9d9;
  border-radius: 4px;
  width: 104px;
  height: 104px;
  padding: 8px;
  margin-right: 8px;
  margin-bottom: 8px;
  box-sizing: border-box;
  display: flex;
  &:hover .iconWrap {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: opacity .3s;
  }
}

.inner {
  background-size: contain;
  font-size: 16px;
  flex: 1;
  position: relative;
  border-radius: 4px;
  :global {
    .anticon-plus {
      font-size: 32px;
    }
  }
}
.iconWrap {
  width: 100%;
  height: 100%;
  display: flex;
  opacity: 0;
  border-radius: 3px;
  background-color: rgba(0, 0, 0, 0.5);
  :global {
    .anticon {
      margin: 0 5px;
      color: white;
    }
  }
}

.input {
  display: none !important;
}
